<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class User extends Admin_Controller {
	protected $list_view_condition = "email <> ''";
	protected $list_view_order_name = 'created';
	protected $list_view_order_direction = 'DESC';
	protected $list_view_pagination = array(20,50,100);
	protected $list_view_searched_fields = array(
			'email'			=>	'Email',
		);
	protected $fields =  array(
				'status'			=>	array(
											'text'	=>	'Status',
											'type'	=>	'checkbox',
											'form_view'=>array()
										),
				'email'				=>	array(
											'text'	=>	'Email',
											'type'	=>	'text',
											'list_view'=>array(
												'is_show_link'	=>	true
											),
											'form_view'=>array(
											)
										),
				'phone'				=>	array(
											'text'	=>	'Phone',
											'type'	=>	'text',
											'list_view'=>array(
												'is_show_link'	=>	true
											),
											'form_view'=>array(
											)
										),
				'address'			=>	array(
										'text'	=>	'Address',
										'type'	=>	'text',
										'list_view'=>array(
											'is_show_link'	=>	true
										),
										'form_view'=>array(
										)
									),
				'coin_paying'		=>	array(
										'text'	=>	'Coin paying',
										'type'	=>	'text',
										'list_view'=>array(
											'is_show_link'	=>	true
										),
										'form_view'=>array(
										)
									),
				'coin_number'		=>	array(
										'text'	=>	'Coin number',
										'type'	=>	'text',
										'list_view'=>array(
											'is_show_link'	=>	true
										),
										'form_view'=>array(
										)
									),
		);

	/** End: Config **/

	/*------------------------------------ Admin Control Panel ------------------------------------*/
	/*----------------------------- End Admin Control Panel --------------------------------*/
	
	
	/*------------------------------------ FRONTEND ------------------------------------*/
	/*------------------------------------ End FRONTEND --------------------------------*/
}